package com.theyeasy.dvmini.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.theyeasy.dvmini.model.Sales;
import com.theyeasy.dvmini.util.MyMapper;
import com.theyeasy.dvmini.vo.SalesReport_Vo;
import com.theyeasy.dvmini.vo.Sales_Vo;

public interface SalesDao extends MyMapper<Sales> {
    
   List<Sales_Vo> getSalesList(int page,int pagesize,
           @Param("projectid")Integer projectid,@Param("keyword")String keyword, 
           @Param("isvanker")Boolean isvanker);
   
   int getSalesCount(@Param("projectid")Integer projectid,@Param("keyword")String keyword,
           @Param("isvanker")Boolean isvanker);
   
   List<SalesReport_Vo> getSalesReportList(int page,int pagesize,@Param("keyword")String keyword);
   
   int getSalesReportCount(@Param("keyword")String keyword);
   
}
